[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Keypressed               Returns TRUE If Key Has Been Pressed

 Keypressed : Boolean;                                                   [TP]

    Returns true if any key on the keyboard as been pressed; otherwise,
    returns FALSE;

           Note:    This function uses MS-DOS's console status routine to
                    check for keys.

  -------------------------------- Example ---------------------------------

           repeat
             ...                    { perform some action }
           until Keypressed;

See Also: ConStPtr
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson